@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
  --main-width: 1920px;
  --main-font-size: 15px;
  --main-desktop-font-size: 20px;
  --main-pad-font-size: calc(var(--main-desktop-font-size) * 4.8 / 6);
  --main--border-color: #111;
  --main-text-color: #fff;
  --main-background-color: #333;
  --main-structure-max-width: 100%;
  --main-structure-left: 2em;
  --main-color: rgb(88, 186, 197);
  --header-logo-width: 30px;
  --header-height: 3.2rem;
  --header-pad-logo-width: calc(var(--header-logo-width) * 5 / 6);
  --content-height: calc(100vh - var(--header-height));
  --header-right-left-padding: 100px;
  --body-left-padding: var(var(--header-right-left-padding));
  --screen-desktop-padding-top-bottom: 50px;
  --screen-desktop-padding-left-right: 100px;
  --screen-pad-padding-top-bottom: 10px;
  --screen-pad-padding-left-right: 5px;
  --footer-margin-right: 30px;
  --footer-icon-width: 30px;
  --footer-pad-icon-width: calc(var(--header-logo-width) * 5 / 6);
  --video-overlay-island-color: #054f7199;
  --video-overlay-spring-color: #054f716d;
  --video-overlay-summer-color: #054f714e;
  --video-overlay-autumn-color: #054f713a;
  --video-overlay-winter-color: #1098d785;
  --text-description-h1-desktop-size: 3em;
  --text-description-h2-desktop-size: 2.5em;
  --text-description-p-desktop-size: 1em;
  --text-description-h1-pad-desktop-size: 2.5em;
  --text-description-h2-pad-desktop-size: 2em;
  --text-description-p-pad-desktop-size: 1em;
  --menu-header-width: 300px;
  --menu-width: 12em;
  --menu-margin-bottom: 1em;
  --topride-color: #1c073e;
  
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-drag: none;
  text-decoration: none;
  list-style: none;
}

html, body {
  all: unset;
  width: 100vw;
  min-height: 100vh;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  font-size: var(--main-desktop-font-size);
  /* background-color: var(--main-background-color); */
  color: var(--main-text-color);
}


.main-structure,
.main-structure header,
.main-structure .content,
.main-structure footer{
  width: 100%;
  /* border: 5px dashed var(--main--border-color); */
  user-select: none;
  transition: all 0.5s;
}

.main-structure-header {
  display: flex;
  flex-direction: column;
  align-items: start;
}


.main-structure header .main-structure-header a:not(:last-child){
  margin-bottom: 1em;
}

.main-structure {
  position: relative;
  max-width: var(--main-structure-max-width);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: var(--screen-desktop-padding-top-bottom) var(--screen-desktop-padding-left-right);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  transition:  all 0.5s;
  transform: perspective(5000px) translateX(0px) translateY(0) translateZ(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  will-change: transform;
}

.main-structure.active {
  width: calc(90% - var(--menu-width) - var(--main-structure-left));
  height: calc(100vh - 2 * var(--main-structure-left));
  top: var(--main-structure-left);
  right: var(--menu-width);
  left: var(--main-structure-left);
  bottom: var(--main-structure-left);
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  transform: perspective(5000px) translateX(0px) translateY(0) translateZ(0) rotateX(0deg) rotateY(30deg) rotateZ(0deg);
  will-change: transform;
}

.main-structure,
.aside-menu {
  font-size: var(--main-desktop-font-size);
  line-height: 1em;
}

.main-structure footer .footer-group,
.main-structure header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-structure header .menu-logo {
  width: var(--header-logo-width);
  height: var(--header-logo-width);
  background: url('/public/icons/menu-3-line.svg') no-repeat center;
  background-size: var(--header-logo-width);
  transition: all 0.3s;
  /* 颜色反转 */
  filter: invert(1); 
}

.main-structure header .menu-logo:hover {
  border: 3px solid black;
  border-radius: 50%;
  animation: menu_logo ease-in 1s infinite;
}

.main-structure header .menu-logo.active {
  background: url('/public/icons/close.svg') no-repeat center;
  background-size: var(--header-logo-width);
}

.main-structure header a {
  display: inline-block;
  text-decoration: none;
  color: var(--main-text-color);
  transition: all 0.3s;
}



.main-structure header a:hover {
  transform: scale(1.4);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}




.main-structure .footer-group {
  justify-content: flex-start !important;
}

.main-structure .footer-group a:not(:last-child) {
  margin-right: var(--footer-margin-right);

}

.main-structure .footer-group c

.main-structure .footer-group a img:hover {
  transform: translateY(-0.5em);
}

.main-structure .content  video,
.main-structure .content  .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: 1s;
}

.main-structure .content video {
  object-fit: cover;
  clip-path: ellipse(0% 0% at 0% 50%);
  padding: 0;
  margin: 0;
  transition: clip-path 1s ease;
}

.main-structure .content video.active {
  clip-path: ellipse(150% 70% at 0% 50%);
}

.main-structure .content  .video-overlay {
  mix-blend-mode: overlay;
}

.main-structure .content  .video-overlay-island {
  background: var(--video-overlay-island-color);
}

.main-structure .content  .video-overlay-spring {
  background: var(--video-overlay-spring-color);
}

.main-structure .content  .video-overlay-summer {
  background: var(--video-overlay-summer-color);
}

.main-structure .content  .video-overlay-autumn {
  background: var(--video-overlay-autumn-color);
}

.main-structure .content  .video-overlay-winter {
  background: var(--video-overlay-winter-color);
}



.content .text-desscription h1,
.content .text-desscription h2,
.content .text-desscription p {
  margin: 0;
  padding: 0;
}

.content .text-desscription {
  line-height: 5em;
}

.content .text-desscription h1,
.content .text-desscription h2 {
  text-transform: uppercase;
}

.content .text-desscription h1 {
  font-size: var(--text-description-h1-pad-desktop-size);
  line-height: 1em;
}

.content .text-desscription h2 {
  font-size: var(--text-description-h2-pad-desktop-size);
  line-height: 1em;
  margin-bottom: 1em;
}

.content .text-desscription p {
  font-size: var(--text-description-p-pad-desktop-size);
  line-height: 1.5em;
  max-width: 590px;
  min-width: 300px;
}

.aside-menu a,
.text-desscription a {
  text-decoration: none;
  border: 2px solid var(--main-text-color);
  color: var(--main-text-color);
  padding: 10px 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1em;
  border-radius: 30px;
  box-shadow: 1px 1px 8px rgba(0,0,0,0.1), -1px -1px 8px rgba(255,255,255,0.1);
  transition: 0.3s;
  will-change: transform;
}


.text-desscription a:hover {
  color: var(--main-text-color);
  background-color: var(--main-color);
  letter-spacing: 0.3em;
  
}

.aside-menu {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--menu-width);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.aside-menu a {
  border-color: var(--main-color);
  color: var(--main-color);
  max-width: calc(var(--menu-width) * 2 / 3);
  text-align: center !important;
  transition: all 0.5s;
}

.aside-menu a:not(:last-child) {
  margin-bottom: var(--menu-margin-bottom);
}

.aside-menu a:hover {
  color: var(--main-color);
  background-color: var(--main-color);
  letter-spacing: 0.3em;
  color: var(--main-text-color);
}

.loading {
  position: fixed;
  left: 0%;
  top: 0%;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: var(--main-text-color);
  background: rgba(0, 0, 0, 0.5);
  opacity: 0.8;
}

.userinfo {
  position: flex;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  scroll-behavior: smooth;
}

.userinfo .content {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -100; /* 设置 z-index 使视频保持在内容的后面 */

}



/* 让video铺满屏幕并随网页大小变动而变动 */
.userinfo .content video {
  width: 100%;
  height: 100%;
  transition: 1s;
  object-fit: cover;
  clip-path: ellipse(0% 0% at 0% 50%);
  animation: UserClipPath 3s ease forwards;
}


.userinfo-introduce .userinfo-introduce-header ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.userinfo-introduce li{

  list-style: none;

  /* 文字不可转中 */
  user-select: none; 
}



.userinfo-introduce h1 {
  font-family: "Poppins", sans-serif;
  font-size: var(--screen-desktop-padding-top-bottom);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.userinfo-educational .userinfo-educational-list {
  width: 500px;
  height: 290px;
  align-items: center;
  border: 1px solid rgb(255, 255, 255) ;
  border-radius: 15px;
}

.userinfo-educational div p {
  margin: 0 15px;
}

.userinfo-introduce span,
.userinfo-educational p {
  font-size: 13px;
  user-select: none;
}


.userinfo-title .demo:hover {
  color: red;
  transform: scale(1.2);
}


.userinfo-title .demo-url a {
  filter: invert(1);
}



.userinfo-introduce-list h1,
.userinfo-educational div h1 {
  font-weight: bold;
  transition: 0.5s all;
  font-size: 15px;
  text-align: center;
}

.userinfo-introduce-list h1:hover {
  transform: scale(1.2);

}

.userinfo-introduce-list p {
  transition: transform 0.3s, background-position 0.5s, color 0.3s;
  display: inline-block;
  font-size: 15px;
  line-height: 26px;
  padding: 0 13px;
  color: white;
  background-position: right;
  will-change: transform;
}

.userinfo-introduce-list p:hover,
.userinfo-educational .userinfo-educational-list p:hover,
.user_indrouce_project_list ul li span:hover {
  /* color: var(--video-overlay-winter-color); */
  transition: 0.5s all;
  color: transparent;
  font-weight: bold;
  background: linear-gradient(to right, #00CCFF, yellow, green, violet);
  background-size: 200% 100%; /* 背景大小设置为200%宽度，以便移动 */
  background-clip: text; /* 将背景仅剪裁到文字 */
  cursor: pointer; /* 鼠标悬停时显示指针形状 */
  -webkit-background-clip: text; /* Chrome/Safari 兼容 */
  -webkit-text-fill-color: transparent; /* 使文字颜色透明，显示背景 */
  background-position: left;
}


.userinfo .back {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  width: 100%;
  font-weight: bold;
  filter: invert(1);
  transition: all 1s ease;
  opacity: 0;
}


.userinfo .back img {
  height: 30px;
  width: 30px;
  transition: all 0.5s ease;
}

.userinfo .back a {

  height: 1.6rem;
  width: 6rem;
  border-radius: 15px;
  text-align: center;
  align-items: center;
  border: 1px solid black;
  transition: all 0.5s ease;
}

.userinfo .back a:hover {
  filter: invert(1);
  transform: translateY(-3px);
  will-change: transform;
}

.userinfo .back a:nth-child(1) {
  margin-right: 6rem;
}


.userinfo .back a.active {
  display: none;
}


.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -999;
}

.background-container video {
  width: 100%;
  height: 100%;
  transition: 1s;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}



.user-book {
  display: flex;
}


.userinfo-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.5;
  z-index: 1;
}


.Scrolldown {
  position: fixed;
  left: 50%;
  bottom: 5%;
  width: 100%;
}


.Scrolldown img {
  opacity: 0.6;
  height: 50px;
  animation: animate 2s ease-in-out infinite;
}

@keyframes animate {
  0% {
    transform: translateY(0);
    opacity: 0.6;
  }
  

  50% {
    transform: translateY(-20px);
    opacity: 0.1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
}










  


















